package com.yesep.learn.design.structural.adapter;

import com.yesep.learn.design.common.*;

public class MediaPlayerAPI {
    public void play(IMediaPlayer player, String fileName) {
        player.play(fileName);
    }

    public void pause(IMediaPlayer player) {
        player.pause();
    }

    public void stop(IMediaPlayer player) {
        player.stop();
    }
}
